package plugins;

import kd.bos.form.control.IFrame;
import kd.bos.form.plugin.AbstractFormPlugin;
import kd.sdk.plugin.Plugin;

import java.util.EventObject;

/**
 * 动态表单插件
 */
public class cook extends AbstractFormPlugin implements Plugin {
    @Override
    public void afterCreateNewData(EventObject e) {
        super.afterCreateNewData(e);
        IFrame iframe = this.getView().getControl("dcb4_iframeap");
        // 设置url，苍穹开发者门
        String url = "https://cook.yunyoujun.cn/";
        iframe.setSrc(url);

    }
}